rofiles-fuse: Support write/read_buf()
authorAlexander Larsson <alexl@redhat.com>
Tue, 14 Feb 2017 13:36:28 +0000 (14:36 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 14 Feb 2017 14:59:28 +0000 (14:59 +0000)
commit4e908f867d3577a418fb54adb356f396a1181259
tree47f237c028dd21a7ca6cc97b7091c72dcfaea050
parentba350982e89660ecf0caf1f4422d4266cadedf86
rofiles-fuse: Support write/read_buf()

These allow us to avoid copying a lot of data around
in userspace. Instead we splice the data directly from
the fd to the destination fd.

Closes: #684
Approved by: cgwalters
src/rofiles-fuse/main.c